home *** CD-ROM | disk | FTP | other *** search
/ Aminet 23 / Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso / Aminet / disk / misc / xfs208b.lha / xfs208_beta / mount.xfsd < prev    next >
Text File  |  1997-12-14  |  5KB  |  171 lines

  1. /*
  2.    Mount list for x file system disk handler
  3.  
  4.    Arrangement:
  5.  
  6.        L:        xfsd
  7.  
  8.        DEVS:     mount.xfsd
  9.                  fd.device
  10.  
  11.    then use:
  12.  
  13.        Mount FD0: from DEVS:mount.xfsd
  14.  
  15.    somewhere in your startup-sequence or user-startup
  16.  
  17.    Alternative arrangement for WB3:
  18.  
  19.        L:                    xfsd
  20.  
  21.        DEVS:DOSDrivers/      FD0
  22.                              FD0.info
  23.                              FD1       (if you've got)
  24.                              FD1.info  ( two drives:-)
  25.  
  26.    then this standard line from your startup-sequence
  27.    will mount the drive(s) for you:
  28.  
  29.    C:Mount >NIL: DEVS:DOSDrivers/~(#?.info)
  30.  
  31.    Note in both cases you must mount the drive(s) before the
  32.    line in your startup (C:LoadWB) that loads the Workbench if
  33.    you wish to be able to format disks by selecting icons.
  34.  
  35.    ** SOMETHING HAS CHANGED **
  36.  
  37.    Now Flags = 0 stops the volume being mounted by name.
  38.    This prevents the WorkBench recognising the disk but still
  39.    allows you to access it using the device name (ie FD0:).
  40.    There is no longer a separate handler called xfsd-ami.
  41.    To get the volume to be mounted (and the Workbench icon
  42.    to appear) the bits in the top byte represent each different
  43.    section of the handler.
  44.  
  45.                           8 4 2 1 - 8 4 2 1
  46.                           | | | |   | | | |
  47.              ql ----------+ | | |   | | | |
  48.              spectrum ------+ | |   | | | |
  49.              msdos -----------+ |   | | | |
  50.              archimedes --------+   | | | |
  51.              amiga -----------------+ | | |
  52.              minix -------------------+ | |
  53.              mac -----------------------+ |
  54.              cpm -------------------------+
  55.  
  56.    So if you wanted the handler to only mount MSDOS or MAC
  57.    volumes you would use Flags = 0x22000000
  58.  
  59.    REMEMBER, even if the volume isn't mounted, the disk is
  60.    still accessible via the device (eg FD0:).
  61.  
  62.    ALSO to disable a filesystem completely, the same bits in
  63.    the next byte can be set, so to disable the amiga file
  64.    handler section of xfs use Flags = 0x00080000
  65.  
  66.    ALSO only the top word of the flags is used by the handler,
  67.    this being masked off before the flags are sent to the low
  68.    level device, so you can put any values you like in the lower
  69.    word, whatever is required for the .device you are using.
  70.    This means you can use the xfsd handler with mfm.device, or
  71.    with catweazel if you like.
  72.  
  73. */
  74. FD0:
  75.  FileSystem = L:xfsd
  76.  /*
  77.   * flag settings:
  78.   * mount ql volumes only, disable amiga disk recognition
  79.   */
  80.  Device     = fd.device ; Unit = 0 ; Flags = 0x80080000
  81.  /**/
  82.  LowCyl     = 0  ; HighCyl = 79
  83.  Surfaces   = 2  ; BlocksPerTrack = 11
  84.  Reserved   = 0  ; Interleave = 0
  85.  Buffers    = 20 ; BufMemType = 1
  86.  Priority   = 9  ; Stacksize  = 16000
  87.  Globvec    = -1 ; Mount      = 1
  88.  DosType    = 0x444F5300 /* 'DOS\0' */
  89. #
  90. FD1:
  91.  FileSystem = L:xfsd
  92.  /*
  93.   * flag settings:
  94.   * just disable amiga disk recognition
  95.   */
  96.  Device     = fd.device ; Unit = 1 ; Flags = 0x00080000
  97.  LowCyl     =  0 ; HighCyl = 79
  98.  Surfaces   =  2 ; BlocksPerTrack = 11
  99.  Reserved   =  0 ; Interleave = 0
  100.  Buffers    = 20 ; BufMemType = 1
  101.  Priority   = 9  ; Stacksize  = 16000
  102.  Globvec    = -1 ; Mount      = 1
  103.  DosType    = 0x444F5300 /* 'DOS\0' */
  104. #
  105. FD2:
  106.  FileSystem = L:xfsd
  107.  Device     = fd.device ; Unit = 2 ; Flags = 0
  108.  LowCyl     = 0  ; HighCyl = 79
  109.  Surfaces   = 2  ; BlocksPerTrack = 11
  110.  Reserved   = 0  ; Interleave = 0
  111.  Buffers    = 20 ; BufMemType = 1
  112.  Priority   = 9  ; Stacksize  = 16000
  113.  Globvec    = -1 ; Mount      = 1
  114.  DosType    = 0x444F5300 /* 'DOS\0' */
  115. #
  116. FD3:
  117.  FileSystem = L:xfsd
  118.  Device     = fd.device ; Unit = 3 ; Flags = 0
  119.  LowCyl     =  0 ; HighCyl = 79
  120.  Surfaces   =  2 ; BlocksPerTrack = 11
  121.  Reserved   =  0 ; Interleave = 0
  122.  Buffers    = 20 ; BufMemType = 1
  123.  Priority   = 9  ; Stacksize  = 16000
  124.  Globvec    = -1 ; Mount      = 1
  125.  DosType    = 0x444F5300 /* 'DOS\0' */
  126. #
  127. FILE0:
  128.  FileSystem = L:xfsd
  129.  Device     = file.device ; Unit = 0 ; Flags = 0
  130.  LowCyl     = 0  ; HighCyl = 79
  131.  Surfaces   = 2  ; BlocksPerTrack = 11
  132.  Reserved   = 0  ; Interleave = 0
  133.  Buffers    = 20 ; BufMemType = 1
  134.  Priority   = 9  ; Stacksize  = 16000
  135.  Globvec    = -1 ; Mount      = 1
  136.  DosType    = 0x444F5300 /* 'DOS\0' */
  137. #
  138. FILE1:
  139.  FileSystem = L:xfsd
  140.  Device     = file.device ; Unit = 1 ; Flags = 0
  141.  LowCyl     =  0 ; HighCyl = 79
  142.  Surfaces   =  2 ; BlocksPerTrack = 11
  143.  Reserved   =  0 ; Interleave = 0
  144.  Buffers    = 20 ; BufMemType = 1
  145.  Priority   = 9  ; Stacksize  = 16000
  146.  Globvec    = -1 ; Mount      = 1
  147.  DosType    = 0x444F5300 /* 'DOS\0' */
  148. #
  149. FILE2:
  150.  FileSystem = L:xfsd
  151.  Device     = file.device ; Unit = 2 ; Flags = 0
  152.  LowCyl     =  0 ; HighCyl = 79
  153.  Surfaces   =  2 ; BlocksPerTrack = 11
  154.  Reserved   =  0 ; Interleave = 0
  155.  Buffers    = 20 ; BufMemType = 1
  156.  Priority   = 9  ; Stacksize  = 16000
  157.  Globvec    = -1 ; Mount      = 1
  158.  DosType    = 0x444F5300 /* 'DOS\0' */
  159. #
  160. FILE3:
  161.  FileSystem = L:xfsd
  162.  Device     = file.device ; Unit = 3 ; Flags = 0
  163.  LowCyl     =  0 ; HighCyl = 79
  164.  Surfaces   =  2 ; BlocksPerTrack = 11
  165.  Reserved   =  0 ; Interleave = 0
  166.  Buffers    = 20 ; BufMemType = 1
  167.  Priority   = 9  ; Stacksize  = 16000
  168.  Globvec    = -1 ; Mount      = 1
  169.  DosType    = 0x444F5300 /* 'DOS\0' */
  170. #
  171.